.c7n-iam-apitest-tree {
  &-content {
    height: 100%;
    width: 300px;
    display: flex;
    padding-left: .1rem;
    flex-direction: column;
    border-right: 1px solid rgba(0, 0, 0, 0.36);

    .c7n-tree-title-ellipsis {
      max-width: 186px;
      text-overflow: ellipsis;
      white-space: nowrap;
      overflow: hidden;
      cursor: pointer;
    }
  }

  &-top {
    font-size: 13px;
    display: flex;
    align-items: center;
    .c7n-input-has-border.c7n-input-wrapper:before {
      background: rgba(0, 0, 0, 0.06);
      border: none;
    }

    &-button {
      cursor: pointer;
      width: 26px;
      height: 22px;
      background-color: #3f51b5;
      color: white;
      text-align: center;
      line-height: 18px;
      margin: 0 6px 0 11px;
      border-radius: 3px;
    }

    .c7n-input-wrapper {
      margin-bottom: 0;
    }

    .c7n-input-rendered-wrapper {
      padding-left: 10px;
    }

    .c7n-input-prefix {
      left: 8px;
    }

    .c7n-input-underline {
      border-bottom-color: #979797;
    }
  }

  &-main {
    flex: 1;
    overflow-x: hidden;
    overflow-y: auto;

    .c7n-tree {
      padding-top: 18px;
    }
    .c7n-tree li ul {
      padding: 0 0 0 .12rem;
    }

    .c7n-tree-title {
      cursor: pointer !important;
      color: rgba(0, 0, 0, .65);
    }

    .c7n-tree .c7n-tree-node-content-wrapper {
      width: calc(100% - 22px);
      display: inline-flex;
      align-items: center;
      height: 30px;
      padding: 0 5px 0 0;
      cursor: pointer;
    }

    .c7n-tree .c7n-tree-node-content-wrapper.c7n-tree-node-selected {
      background: rgba(0, 0, 0, .04);
    }

    .c7n-tree-switcher {
      margin-top: 3px;
    }
    .c7n-tree-switcher-icon {
      font-size: .2rem;
    }
    .c7n-iam-apitest-api-wrapper-1,
    .c7n-iam-apitest-api-wrapper-2,
    .c7n-iam-apitest-api-wrapper-3,
    .c7n-iam-apitest-api-wrapper-4,
    .c7n-iam-apitest-api-wrapper-5 {
      // margin-bottom: 0 !important;
      .c7n-tree-switcher {
        width: 0.1rem;
      }
    }

    .c7n-tree span.c7n-tree-iconEle {
      margin-right: 6px;
      cursor: pointer;
      width: auto;

      i.icon {
        line-height: 24px;
      }
    }

    .c7n-tree-child-tree {
      .c7n-iam-apitest-api-wrapper:last-child {
        margin-bottom: 0;
      }
    }

    .c7n-iam-apitest-tree-methodTag {
      text-transform: uppercase;
      text-align: center;
      font-size: 13px;
      color: #fff;
      border-radius: 2px;
      width: .48rem;
      height: .16rem;
      display: inline-flex;
      align-items: center;

      > div {
        transform: scale(.8);
        margin: 0 auto;
      }

      &-get {
        background: #4d90fe;
      }

      &-post {
        background: #00bfa5;
      }

      &-put {
        background: #ffb100;
      }

      &-delete {
        background: #f44336;
      }

      &-options {
        background: #743be7;
      }

      &-patch {
        background: #ff7043;
      }
    }
    .c7n-iam-apitest-api-wrapper-1 {
      cursor: pointer;
      //margin-bottom: 10px;
      white-space: normal;

      .c7n-tree-iconEle {
        cursor: pointer !important;
      }

      .c7n-tree-title {
        cursor: pointer !important;
        //word-break: break-word;
        //line-height: 16px;
      }
    }

    .c7n-iam-apitest-api-wrapper-2 {
      cursor: pointer;
      margin-bottom: 10px;
      white-space: normal;

      .c7n-tree-iconEle {
        cursor: pointer !important;
      }

      .c7n-tree-title {
        cursor: pointer !important;
        word-break: break-word;
        line-height: 16px;
      }
    }

    .c7n-iam-apitest-api-wrapper-3 {
      cursor: pointer;
      margin-bottom: 4px;
      white-space: normal;

      .c7n-tree-iconEle {
        cursor: pointer !important;
      }

      .c7n-tree-title {
        cursor: pointer !important;
        word-break: break-word;
        line-height: 16px;
      }

      .c7n-tree-node-content-wrapper {
        padding: 23px 0 !important;
      }
    }

    .c7n-iam-apitest-api-wrapper-4 {
      cursor: pointer;
      margin-bottom: 4px;
      white-space: normal;

      .c7n-tree-iconEle {
        cursor: pointer !important;
      }

      .c7n-tree-title {
        cursor: pointer !important;
        word-break: break-word;
        line-height: 16px;
      }

      .c7n-tree-node-content-wrapper {
        padding: 32px 0 !important;
      }
    }

    .c7n-tooltip {
      .c7n-tooltip-inner > span {
        font-weight: 500;
      }
    }
    //.c7n-iam-apitest-api-wrapper {
    //  cursor: pointer;
    //  margin-bottom: 10px;
    //  white-space: normal;
    //
    //  //.c7n-tree-node-content-wrapper {
    //  //  align-items: flex-start !important;
    //  //}
    //
    //  .c7n-tree-iconEle {
    //    cursor: pointer !important;
    //  }
    //
    //  .c7n-tree-title {
    //    cursor: pointer !important;
    //    word-break: break-word;
    //    line-height: 16px;
    //  }
    //}
  }
}
